go to previous page   go to home page   go to next page

Can Java use characters from Java?

Answer:

Yes. (Seems only fair.)


Readers

Java Reader hierarchy

Reader is an abstract class from which all character-oriented input streams are derived. These streams deliver 16-bit char data to a program. The source of the data may be in a variety of formats (such as UTF format on a disk file). The diagram shows several Reader classes.

All these classes are character-oriented input streams. Don't memorize this diagram. Only a few classes are discussed in these notes; mostly FileReader.


QUESTION 9:

What (do you think) is the source of data for a FileReader?